{extend name="layout/base"}

{block name="content"}
<!--Banner-->
<div class="banner" id="index-banner">
    <div class="banner-pics">
        <ul class="banner-pics-list OnSale-banner">
            {volist name="$info.banner" id="v"}
            <li><a href="javascript:;"><img src="{$v}" alt=""/></a></li>
            {/volist}
        </ul>
    </div>
    <ul class="banner-tit">
        {volist name="$info.banner" id="v" key="k"}
        <li {if condition="$k eq 1"}class="on"{/if}></li>
        {/volist}
    </ul>
</div>
<div class="company-info">
    <h2>{$info.name}</h2>
    <div class="container">
        <p><i class="linkman"></i> <span>联系人</span> <span> {$info.contacts} </span> </p>
        <p><i class="telephone"></i> <span>手&nbsp;&nbsp;&nbsp;机</span> <span> <a href="tel:{$info.telephone}">{$info.telephone}</a> </span> </p>
        <p><i class="phone"></i> <span>座&nbsp;&nbsp;&nbsp;机</span> <span> <a href="tel:{$info.phone}">{$info.phone}</a> </span> </p>
        <p><i class="map"></i> <span>地&nbsp;&nbsp;&nbsp;址</span> <span>{$info.address}</span> </p>
    </div>
</div>

<div class="company-desc">
    <h2>公司介绍</h2>
    <div class="content">
        {$info.description}
    </div>
</div>

{/block}
{block name="script"}
<script src="__CDN__/assets/js/TouchSlide.1.1.js"></script>
<script type="text/javascript">
TouchSlide({
    slideCell:"#index-banner",
    titCell:".banner-tit li",//开启自动分页 autoPage:true ，此时设置 titCell 为导航元素包裹层
    mainCell:".banner-pics-list",
    effect:"left",
    autoPlay:true,//自动播放
})
</script>
{/block}
